package org.jeecg.modules.pay.service;

import com.alibaba.fastjson.JSONObject;
import org.jeecg.modules.chg.entity.ChgPayments;
import org.jeecg.modules.pay.beans.beanAbc.ChargeBillRequest;
import org.jeecg.modules.pay.beans.beanAbc.QueryBillRequest;
import org.jeecg.modules.pay.beans.beanAbc.QueryBillResponse;

import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * 接收账单相关服务
 *
 */
public interface IBillReceiveService {

    /**账单查询*/
    public  JSONObject queryBill(Map<String,String> requestMap
            , QueryBillRequest.Message.Info info
            , QueryBillResponse.Message.Info respInfo ) throws UnsupportedEncodingException;

    /**账单核销*/
    public JSONObject saleBill(ChargeBillRequest.Message.Head head
            ,ChargeBillRequest.Message.Info info) throws UnsupportedEncodingException;

    //账单查询
    JSONObject abcBillQuery(ChgPayments chgPayments);

    /**申请退款*/
    public JSONObject cancelAbcPay(ChgPayments chgPayments) throws UnsupportedEncodingException;

    /**下载对账单*/
    public void abcBillFileDown();
}
